//
//  UUPermissionUtility.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 08/03/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUPermissionUtility.h"

@implementation UUPermissionUtility

+ (NSString *)roleNameForRoleId:(UUPermissionRoleType)roleId {
    switch (roleId) {
        case UUPermissionRoleTypeOwner:
            return @"所有者";
        case UUPermissionRoleTypeSuperAdmin:
            return @"超级管理员";
        case UUPermissionRoleTypeAdmin:
            return @"管理员";
        case UUPermissionRoleTypeFinancial:
            return @"财务人员";
        case UUPermissionRoleTypeDispatcher:
            return @"调度员";
        case UUPermissionRoleTypeProduct:
            return @"产品管理员";
        default:
            DKAssert(0);
            return nil;
    }
}

@end
